package com.kly.user.db.dao;
import com.fqgj.common.base.BaseMapper;
import com.kly.user.db.entity.UserGreetingContentEntity;

import java.util.List;

/**
* User: linqu
* Date: 2023-06-21
* Time: 10:44:53.179
*/
public interface UserGreetingContentDao  extends BaseMapper<UserGreetingContentEntity> {

    List<UserGreetingContentEntity> queryGreetingByModelUserCode(String modelUserCode);

    Integer queryTotalGreetingByModelUserCode(String modelUserCode);

    List<UserGreetingContentEntity> queryGreetingByModelUserCodes(List<String> modelUserCodes);

    List<UserGreetingContentEntity> queryByChatterUserCode(String chatterUserCode);

    Integer updateGreeting(UserGreetingContentEntity userGreetingContent);

    Integer saveGreeting(UserGreetingContentEntity userGreetingContent);

    public int delGreeting(Long id);


}